<!DOCTYPE HTML>
<html>
 <head>
  <meta charset="UTF-8" />
  <title> New Document </title>
  <script src="cookie.min.js"></script>
  <style>
	/* 这里是CSS代码 */
  </style>

 </head>
 <body>
  <script type="text/javascript">
  //注意：Cookie必须是职业在服务器网址访问的情况下才有效
    cookie.set('key', 'value');
	var value = cookie.get('key');
	var cookies = cookie.all();
	console.log(value);
  </script>
 </body>
</html>